//
//  comBlueboxmoonPhoneiTunes.h
//  iTunesPlugin
//
//  Created by Daniel Hazelbaker on 4/4/09.
//  Copyright 2009 Blue Box Moon. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "BMPluginController.h"
#import "BMPreferences.h"


#define kiTunesPauseDuringCallKey		@"iTunesPauseDuringCall"
#define kiTunesReduceVolumeDuringCallKey	@"iTunesReduceVolumeDuringCall"
#define kiTunesTargetVolumeDuringCallKey	@"iTunesTargetVolumeDuringCall"

@interface comBlueboxmoonPhoneiTunes : NSObject
{
    BOOL		iTunesResume;
    int			iTunesVolume, targetVolume;
    float		currentVolume;
    NSTimer		*volumeTimer;
}

- (BOOL)iTunesIsRunning;
- (BOOL)iTunesIsPlaying;
- (BOOL)iTunesIsMuted;
- (int)iTunesVolume;

- (void)iTunesPlay;
- (void)iTunesPause;
- (void)iTunesStop;
- (void)iTunesMute;
- (void)iTunesUnmute;
- (void)iTunesVolume:(int)newVolume;

+ (void)setDefaultPreferences;

@end
